/*
 * @Author: your name
 * @Date: 2022-03-22 10:47:38
 * @LastEditTime: 2022-04-03 20:00:07
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \blog-system-serve\OSS\index.js
 */
const OSS = require("ali-oss");
const client = new OSS({
  // 购买的OSS地域
  region: "oss-cn-beijing",
  // 阿里云账号AccessKey拥有所有API的访问权限，风险很高。强烈建议您创建并使用RAM用户进行API访问或日常运维，请登录RAM控制台创建RAM用户。
  accessKeyId: "LTAI5t8NNHmRd3MvSMUPobzF",
  accessKeySecret: "T5bFKoiagFSEY6PhYkmneUy1zMNd8V",
  bucket: "gly-bucket-test",
});
module.exports = client;
